home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / Scale.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  1.5 KB  |  64 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: Scale.h,v $ $Revision: 1.17 $ $Date: 92/05/14 12:56:16 $ */
  6. /*
  7. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  8. /*
  9. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  10. #ifndef _XmScale_h
  11. #define _XmScale_h
  12.  
  13.  
  14. #include <Xm/Xm.h>
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19.  
  20. /* Class record constants */
  21.  
  22. externalref WidgetClass xmScaleWidgetClass;
  23.  
  24. /* fast XtIsSubclass define */
  25. #ifndef XmIsScale
  26. #define XmIsScale(w) XtIsSubclass (w, xmScaleWidgetClass)
  27. #endif
  28.  
  29. typedef struct _XmScaleClassRec * XmScaleWidgetClass;
  30. typedef struct _XmScaleRec      * XmScaleWidget;
  31.  
  32.  
  33. /********    Public Function Declarations    ********/
  34. #ifdef _NO_PROTO
  35.  
  36. extern void XmScaleSetValue() ;
  37. extern void XmScaleGetValue() ;
  38. extern Widget XmCreateScale() ;
  39.  
  40. #else
  41.  
  42. extern void XmScaleSetValue( 
  43.                         Widget w,
  44.                         int value) ;
  45. extern void XmScaleGetValue( 
  46.                         Widget w,
  47.                         int *value) ;
  48. extern Widget XmCreateScale( 
  49.                         Widget parent,
  50.                         char *name,
  51.                         ArgList arglist,
  52.                         Cardinal argcount) ;
  53.  
  54. #endif /* _NO_PROTO */
  55. /********    End Public Function Declarations    ********/
  56.  
  57.  
  58. #ifdef __cplusplus
  59. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  60. #endif
  61.  
  62. #endif /* _XmScale_h */
  63. /* DON'T ADD ANYTHING AFTER THIS #endif */
  64.